#include <iostream>
using namespace std;

int main()
{
    double num;
    cin>>num;
    if(num - (int)num >= 0.5)
        cout << int(num) + 1;
    else
        cout << int(num);
    return 0;
}